<?php if($adc->getCurrentAdTypeId() > 0): ?>
<?php if($theme->getBootstrap() > 2): ?>
<div class="radio">
    <label for="zone"> 
        <input type="radio" name="bt" id="bt0" value="0" <?php echo $txt->getIsCheckedHTML(0, intval($_REQUEST['bt']), true); ?> onchange="submit();"> <?php echo ucfirst($txt->getWord('all')); ?>
    </label>
</div>
<?php if($adc->getCurrentAdTypeId() > 4): ?>
<div class="radio"><label for="bt1"><input type="radio" name="bt" id="bt1" value="1" <?php echo $txt->getIsCheckedHTML(1, intval($_REQUEST['bt'])); ?> onchange="submit();" />
<?php echo ucfirst($txt->getWord('selling_'.$adc->getCurrentAdTypeId())); ?></label></div>
<div class="radio"><label for="bt2"><input type="radio" name="bt" id="bt2" value="2" <?php echo $txt->getIsCheckedHTML(2, intval($_REQUEST['bt'])); ?>  onchange="submit();" />
<?php echo ucfirst($txt->getWord('buying_'.$adc->getCurrentAdTypeId())); ?></label></div>
<?php endif; ?>  
<?php if($adc->getCurrentAdTypeId() < 5): ?>
<div class="radio"><label for="bt1"><input type="radio" name="bt" id="bt1" value="1" <?php echo $txt->getIsCheckedHTML(1, intval($_REQUEST['bt'])); ?> onchange="submit();" />
<?php echo ucfirst($txt->getWord('for_sale')); ?></label></div>
<div class="radio"><label for="bt2"><input type="radio" name="bt" id="bt2" value="2" <?php echo $txt->getIsCheckedHTML(2, intval($_REQUEST['bt'])); ?>  onchange="submit();" />
<?php echo ucfirst($txt->getWord('buying')); ?></label></div>
<div class="radio"><label for="bt3"><input type="radio" name="bt" id="bt3" value="3" <?php echo $txt->getIsCheckedHTML(3, intval($_REQUEST['bt'])); ?> onchange="submit();" />
<?php echo ucfirst($txt->getWord('for_rent')); ?></label></div>
<div class="radio"><label for="bt4"><input type="radio" name="bt" id="bt4" value="4" <?php echo $txt->getIsCheckedHTML(4, intval($_REQUEST['bt'])); ?> onchange="submit();" />
<?php echo ucfirst($txt->getWord('To_rent')); ?></label></div>
<?php endif; ?>
<?php else: ?>
<div>
	<label class="radio" for="zone"> <input type="radio" name="bt" id="bt0" value="0" <?php echo $txt->getIsCheckedHTML(0, intval($_REQUEST['bt']), true); ?> onchange="submit();"> <?php echo ucfirst($txt->getWord('all')); ?> </label><br />
    <?php if($adc->getCurrentAdTypeId() > 4): ?>
	<label class="radio" for="bt1"><input type="radio" name="bt" id="bt1" value="1" <?php echo $txt->getIsCheckedHTML(1, intval($_REQUEST['bt'])); ?> onchange="submit();" />
	<?php echo ucfirst($txt->getWord('selling_'.$adc->getCurrentAdTypeId())); ?></label><br />
	<label class="radio" for="bt2"><input type="radio" name="bt" id="bt2" value="2" <?php echo $txt->getIsCheckedHTML(2, intval($_REQUEST['bt'])); ?>  onchange="submit();" />
	<?php echo ucfirst($txt->getWord('buying_'.$adc->getCurrentAdTypeId())); ?></label><br />
	<?php endif; ?>  
    <?php if($adc->getCurrentAdTypeId() < 5): ?>
	<label class="radio" for="bt1"><input type="radio" name="bt" id="bt1" value="1" <?php echo $txt->getIsCheckedHTML(1, intval($_REQUEST['bt'])); ?> onchange="submit();" />
	<?php echo ucfirst($txt->getWord('for_sale')); ?></label><br />
	<label class="radio" for="bt2"><input type="radio" name="bt" id="bt2" value="2" <?php echo $txt->getIsCheckedHTML(2, intval($_REQUEST['bt'])); ?>  onchange="submit();" />
	<?php echo ucfirst($txt->getWord('buying')); ?></label><br />
	<label class="radio" for="bt3"><input type="radio" name="bt" id="bt3" value="3" <?php echo $txt->getIsCheckedHTML(3, intval($_REQUEST['bt'])); ?> onchange="submit();" />
	<?php echo ucfirst($txt->getWord('for_rent')); ?></label><br />
	<label class="radio" for="bt4"><input type="radio" name="bt" id="bt4" value="4" <?php echo $txt->getIsCheckedHTML(4, intval($_REQUEST['bt'])); ?> onchange="submit();" />
	<?php echo ucfirst($txt->getWord('To_rent')); ?></label><br />
	<?php endif; ?>
</div>
<div class="v-space"></div>
<?php endif; ?>
<?php endif; ?>